/**
 * 
 */
package org.lightmtv.config;

import java.lang.reflect.Type;

/**
 * @author GL
 */
public interface TypeConverter {

	<T> T convertTo(Object value, Class<T> toType);
	/**
	 * @param p
	 * @param type
	 * @return
	 */
	Object convert(Object value, Type toType);

}
